package auleiy.halo.items;

import auleiy.halo.ModMain;
import net.minecraft.core.registries.Registries;
import net.minecraft.world.item.Item;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.RegistryObject;

public class Items {

    private static final DeferredRegister<Item> Registry
            = DeferredRegister.create(Registries.ITEM, ModMain.ModId);

    public static final RegistryObject<Item> AronaHaloItem
            = Registry.register("arona_halo", () -> new HaloItem(ModMain.Location("arona")));
    public static final RegistryObject<Item> PlanaHaloItem
            = Registry.register("plana_halo", () -> new HaloItem(ModMain.Location("plana")));

    public static void Initialize(IEventBus modEventBus) {
        Registry.register(modEventBus);
    }
}
